package com.example.kotlinproject.modules.login.inter

import android.content.Context
import com.example.kotlinproject.base.IBasePresenter
import com.example.kotlinproject.entity.LoginResponse

interface LoginPresenter :IBasePresenter{

    fun login(context: Context,
              username:String,
              password:String
              )

    // 监听回调
    interface OnLoginListener {

        fun loginSuccess(loginBean: LoginResponse?)

        fun loginFialure(erroeMsg: String  ?)

    }
}